package com.ruoyi.common.core.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * Entity基类
 * 
 * @author qibotian
 */
public class BaseBizEntity extends BaseEntity
{
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
	
	 /** 所属用户 */
    @TableField(fill =  FieldFill.INSERT)
    private Long userId;

    /** 所属部门 */
    @TableField(fill =  FieldFill.INSERT)
    private Long deptId;
    
    
    /** ID */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 代码 */
    private String code;

    /** 名称 */
    private String title;

    /** 工作流状态 */
    private String workflowStatus;

    /** 提交人ID */
    private Long submitUserId;

    /** 提交部门ID */
    private Long submitDeptId;

    /** 提交时间 */
    private Date submitTime;

    /** 最后审核时间 */
    private Date lastAuditTime;

    /** 最后审核人ID */
    private Long lastAuditUserId;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getWorkflowStatus() {
		return workflowStatus;
	}

	public void setWorkflowStatus(String workflowStatus) {
		this.workflowStatus = workflowStatus;
	}

	public Long getSubmitUserId() {
		return submitUserId;
	}

	public void setSubmitUserId(Long submitUserId) {
		this.submitUserId = submitUserId;
	}

	public Long getSubmitDeptId() {
		return submitDeptId;
	}

	public void setSubmitDeptId(Long submitDeptId) {
		this.submitDeptId = submitDeptId;
	}

	public Date getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}

	public Date getLastAuditTime() {
		return lastAuditTime;
	}

	public void setLastAuditTime(Date lastAuditTime) {
		this.lastAuditTime = lastAuditTime;
	}

	public Long getLastAuditUserId() {
		return lastAuditUserId;
	}

	public void setLastAuditUserId(Long lastAuditUserId) {
		this.lastAuditUserId = lastAuditUserId;
	}

}
